import { TestCases } from "./testCases";
import { url } from "@kit.ArkTS";

export const headers:TestCases = {
  "version": "1.4",
  "testCases": [
    {
      "documentation": "header set to region",
      "params": {
        "Region": "us-east-1"
      },
      "expect": {
        "endpoint": {
          "headers": {
            "x-amz-region": ["us-east-1"],
            "x-amz-multi": ["*", "us-east-1"]
          },
          "url": url.URL.parseURL("https://us-east-1.amazonaws.com")
        }
      }
    }
  ]
}
